package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@DbTable(tableName = "t_company")
public class Company extends BaseEntity {
        /**
     * 企业名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;

    /**
     * 简称
     */
    @DbTableField(columnName = "c_name_short", dbType = DbTypeEnum.VARCHAR)
    public String nameShort ;

    /**
     * 统一信用代码
     */
    @DbTableField(columnName = "c_registration_code", dbType = DbTypeEnum.VARCHAR)
    public String registrationCode ;

    /**
     * 成立时间
     */
    @DbTableField(columnName = "c_build_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime buildTime ;

    /**
     * 公司地址
     */
    @DbTableField(columnName = "c_address", dbType = DbTypeEnum.VARCHAR)
    public String address ;

    /**
     * 企业法人
     */
    @DbTableField(columnName = "c_low_people", dbType = DbTypeEnum.VARCHAR)
    public String lowPeople ;

    /**
     * 联系人
     */
    @DbTableField(columnName = "c_contacts", dbType = DbTypeEnum.VARCHAR)
    public String contacts ;

    /**
     * 联系电话
     */
    @DbTableField(columnName = "c_contacts_phone", dbType = DbTypeEnum.VARCHAR)
    public String contactsPhone ;

    /**
     * 简介
     */
    @DbTableField(columnName = "c_desc", dbType = DbTypeEnum.VARCHAR)
    public String descs ;

    @DbTableField(columnName = "c_company_id", dbType = DbTypeEnum.VARCHAR)
    public String companyId ;

    @DbTableField(columnName = "c_section_id", dbType = DbTypeEnum.INTEGER)
    private Integer sectionId;

}
